category = "animal"

element=raw_input("Are you a dog or a cat? ")

if category == "animal":

    if element == "dog":

        print "Woof woof. I am a dog!"
    elif element == "cat":

        print "Miau. I am a cat!"
    else:

        print "Unknown animal."
else:

    print "I don't know what to do."
